<template>
    <div class="container">
        <!-- 面包屑 -->
        <el-page-header @back="goBack"  style="margin-bottom: 20px;">
            <template #content>
            <span class="text-large font-600 mr-3"> {{ title }} </span>
            </template>
        </el-page-header>
        <div class="tltie_top">
            <h1  style="margin-bottom: 20px;">{{ title }}</h1>
            <el-image :src="imgUrl" fit="cover" :preview-src-list="[imgUrl]" />
        </div>
        <el-divider border-style="double" />
        <div class="main">
            <p>{{ detail }}</p>
        </div>
    </div>
</template>

<script>
import { useRoute, useRouter } from 'vue-router'
export default {
  name: 'artistListDetail',
  setup (props) {
    const route = useRoute()
    const router = useRouter()
    const detail = route.query.detail
    const title = route.query.title
    const imgUrl = route.query.imgUrl
    console.log(detail)
    const goBack = () => {
      router.go(-1)
    }
    return { goBack, route, detail, imgUrl, title }
  }
}
</script>

<style scoped lang="less">
.tltie_top{
    margin-top: 20px;
    .time{
        color: #999;
        margin-top: 10px;
    }
}
.main{
    p{
        line-height: 28px;
        font-size: 18px;
        columns:100px 3;
        column-gap:30px;
        column-rule: 1px dotted ;
        word-wrap:break-word;
        font-family:Arial,Helvetica,sans-serif;
        // font-family:"微软雅黑","黑体","宋体";
        font-size: 16px;
        color: #000000;
        // background: #f2e7ca url(images/templatemo_body.jpg) top center no-repeat;
    }
}
</style>
